import request from "@/api";

export const deleteBikeApi = (bikeId: number | string): Promise<OwnAxiosResponse<null>> => {
    return request.delete(`/api/bike/delete/${bikeId}`)
}

export const updateBikeStatusApi = (bikeId: number | string, status: boolean): Promise<OwnAxiosResponse<boolean>> => {
    return request.put(`/api/bike/updateStatus/${bikeId}`, {status})
}
